package com.jt.service.impl;

import com.jt.dao.ClasssMapper;
import com.jt.entity.Classs;
import com.jt.service.ClasssService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClasssServiceImpl implements ClasssService {

    @Autowired
    private ClasssMapper classsMapper;//


    @Override
    public Integer saveClasss(Classs classs) {
        return classsMapper.saveClasss(classs);
    }

    @Override
    public List<Classs> queryAll() {
        return classsMapper.queryAll();
    }

    @Override
    public Integer updateClasss(Classs classs) {
        return classsMapper.updateClasss(classs);
    }

    @Override
    public Integer deleteStatus(Classs classs) {
        return null;
    }
}
